package com.smarthome.core.statisticsquery.impl;

import javax.annotation.Resource;

import org.slf4j.Logger;
import org.springframework.stereotype.Service;

import com.smarthome.base.service.ShPropertyFeeService;
import com.smarthome.core.statisticsquery.PropertyFeeStatisticsService;
import com.smarthome.domain.bean.ShPropertyFee;
import com.smarthome.domain.vo.boss.DataGrid;
import com.smarthome.domain.vo.boss.PageHelper;
@Service("propertyFeeStatisticsService")
public class PropertyFeeStatisticsServiceImpl implements PropertyFeeStatisticsService {

	
	protected static Logger LOGGER;
	
	@Resource
    private ShPropertyFeeService shPropertyFeeService;
	
	
	@Override
	public DataGrid dataGrid(ShPropertyFee propertyFee, PageHelper page) {
		return shPropertyFeeService.queryFeesGroupByDoor(propertyFee, page);
	}


	@Override
	public Long getAmountSumByResidence(ShPropertyFee propertyFee) {
		return shPropertyFeeService.getAmountSumByResidence(propertyFee);
	}


}
